//******************************************************
//  computeAverage.java   Author:Tang Caiming
//
//  命令行输入学号及多次成绩，输出学号和成绩平均值.
//******************************************************

public class computeAverage
{
   public static void main(String ... args)
   {
      double sum  = 0.0;
      double average = 0.0;
      double[] number = new double[args.length];

      for (int n = 1 ; n < args.length; n++)
      {
         number[n] = Float.valueOf(args[n]);
         sum += number[n];
      }

      average = sum / (args.length-1);

      System.out.println(args[0] + "'" + "average score is : " + average);
   }
}
